package com.inxedu.os.edu.service.comment;

import com.inxedu.os.edu.pojo.CommentParam;
import com.inxedu.os.edu.pojo.CommentResult;
import com.inxedu.os.edu.pojo.EduComment;

import java.util.Date;
import java.util.List;

public interface CommentService {

    List<CommentResult> selectCommentByMessage(String email, String content, Integer type, Date beginCreateTime, Date endCreateTime);

    CommentResult selectCommentByCommentId(Integer commentId);

    int updateCommentMessageByCommentId(EduComment eduComment);

    int deleteCommentByCommentId(Integer commentId);

    List<CommentResult> selectCommentByPComentId(Integer pCommentId);
}
